package com.smz.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smz.entity.Settlement;

public interface SettlementDAO extends BaseMapper<Settlement> {

    IPage<Settlement> findSettlementPage(Page<Settlement> settlementPage);

    int count(String settlementStatus);

    IPage<Settlement> findSettlementNumber(Page<Settlement> settlementPage,int freightId);

    void updateSettlement(Settlement settlement);
}
